﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading;

namespace VDataAdapter.WorkerManagement
{
    class ExceptionThrowingWorker : VDataAdapter.WorkerManagement.Worker
    {
        public ExceptionThrowingWorker(string parentName,ManualResetEvent waitFirstTime, ManualResetEvent endRecovery)
            : base(waitFirstTime, endRecovery)
        {
            _name = parentName + "-ExceptionThrowingWorker";
        }

        protected override void DoWork(object data)
        {
            throw new NotImplementedException();
        }

        override
        public void StopWork()
        {
            //Do nothing
        }
    }
}
